package beerAir;

import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class TimetableView {
	
	public String showOffers(){
		return("Offers");
	}
	public String showHome() {
		return("Home");
	}
	
	public List <Flight> getTimesFromAirDate(HomeView v){
		FlightController f = new FlightController();
		return f.getTimesFromAirDate(v);
	}
}
